package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备能效KPI对象 tb_new_energy_efficiency
 * 
 * @author ruoyi
 * @date 2025-05-14
 */
public class NewEnergyEfficiency extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long kpiId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long equipmentId;

    /** A/B/C级能效 */
    @Excel(name = "A/B/C级能效")
    private String efficiencyLevel;

    /** 基准能耗值 */
    @Excel(name = "基准能耗值")
    private BigDecimal baselineEnergy;

    /** 最近维护记录 */
    @Excel(name = "最近维护记录")
    private Long lastMaintenanceId;

    public void setKpiId(Long kpiId) 
    {
        this.kpiId = kpiId;
    }

    public Long getKpiId() 
    {
        return kpiId;
    }
    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }
    public void setEfficiencyLevel(String efficiencyLevel) 
    {
        this.efficiencyLevel = efficiencyLevel;
    }

    public String getEfficiencyLevel() 
    {
        return efficiencyLevel;
    }
    public void setBaselineEnergy(BigDecimal baselineEnergy) 
    {
        this.baselineEnergy = baselineEnergy;
    }

    public BigDecimal getBaselineEnergy() 
    {
        return baselineEnergy;
    }
    public void setLastMaintenanceId(Long lastMaintenanceId) 
    {
        this.lastMaintenanceId = lastMaintenanceId;
    }

    public Long getLastMaintenanceId() 
    {
        return lastMaintenanceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("kpiId", getKpiId())
            .append("equipmentId", getEquipmentId())
            .append("efficiencyLevel", getEfficiencyLevel())
            .append("baselineEnergy", getBaselineEnergy())
            .append("lastMaintenanceId", getLastMaintenanceId())
            .toString();
    }
}
